<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<!--    <script src="http://res2.wx.qq.com/open/js/jweixin-1.6.0.js "></script>-->
<script>

   function onBridgeReady1() {
        WeixinJSBridge.invoke('getBrandWCPayRequest', {
            "appId": "wxfe37ddbe2dde921b",
            "timeStamp": "1667112182",
            "nonceStr": "YFjd1LbsxCnhYh7FjpuC91FUVreSCqvA",
            "package": "prepay_id=wx301441460302799982bf0824b0f5a70000",
            "signType": "RSA",
            "paySign": "t7sI8JfQ6sOOfRJ/B9ldUJlvh1Vj7mDsg+TDwPUtFbdqeh4BzsFTi4aK7MR5fqYBdlJHWrdPFner0+mLBxn58H1lJMBL+vBh2lj+uHakmhCzzF6IhAdRuks+lEJNXyNv1zyllEKimegYFKP38hW5DpHlUAVCDgYwfbM0PXU6pJitpZYtXc4IiCvG2L4spRLCfqhxc1qTcD4GK36Ue52bYpspZBFOnttcvs31k+wfUvSxrPrhY34f0eYH/DSTJYjT6eVijmji7Df0rYPKIj9e09hXrTZfkgfFf997H/nSUsLc+cQgDhVPuFQB5OMSO3lWaTDum4qybgs8vcZRMKZ0hw=="
        },
        function(res) {
            if (res.err_msg == "get_brand_wcpay_request:ok") {
                // 使用以上方式判断前端返回,微信团队郑重提示：
                //res.err_msg将在用户支付成功后返回ok，但并不保证它绝对可靠。
            }
        });
    }
    ;
</script>
</head>
<body>
<a href="weixin://wxpay/bizpayurl?pr=Wp1vT4Bzz">9.9</a>
<a href="weixin://wxpay/bizpayurl?pr=Qlmguhqzz">11111</a>
<div onclick="onBridgeReady1()">单击</div>
</body>
</html>